Method and system for mitigating interest flooding attacks in content-centric networks

ABSTRACT

One embodiment of the present invention provides a system for mitigating interest flooding attacks in content-centric networks (CCNs). During operation, the system receives, at a physical interface of a router, an interest packet; obtains current interest satisfaction statistics associated with the physical interface; and determines whether to forward or drop the interest packet based on the current interest satisfaction statistics.

RELATED APPLICATION

This application claims the benefit of U.S. Provisional Application No.61/826,931, Attorney Docket Number PARC-20130117US01, entitled “METHODAND SYSTEM FOR MITIGATING INTEREST FLOODING ATTACKS IN CONTENT-CENTRICNETWORKS,” by inventors Priya Mahadevan et al., filed May 23, 2013.

This invention was made with U.S. government support under CNS-1040822(3707) awarded by National Science Foundation. The U.S. government hascertain rights in the invention.

BACKGROUND

1. Field

This disclosure is generally related to content-centric networks (CCNs).More specifically, this disclosure is related to a method and a systemthat can be used to mitigate Distributed Denial of Service (DDoS)attacks in content-centric networks.

2. Related Art

The proliferation of the Internet and e-commerce continues to fuelrevolutionary changes in the network industry. Today, a significantnumber of information exchanges, from online movie viewing to daily newsdelivery, retail sales, and instant messaging, are conducted online. Anincreasing number of Internet applications are also becoming mobile.However, the current Internet operates on a largely location-basedaddressing scheme. That is, a consumer of data can only receive the databy explicitly requesting the data from an address (e.g., IP address)closely associated with a physical object or location. This restrictiveaddressing scheme is becoming progressively more inadequate for meetingthe ever-changing network demands.

The current architecture of the Internet revolves around a conversationmodel, which was created in the 1970s for the ARPAnet to allowgeographically distributed users to use a few big, immobile computers.This architecture was designed under the influence of the telephonenetwork, where a telephone number is essentially a program thatconfigures the switches along a path from the source to the destination.Not surprisingly, the designers of the ARPAnet never expected it toevolve into today'subiquitous, relentlessly growing Internet. People nowexpect a lot more from the Internet than the ARPAnet was designed toprovide. Ideally, an Internet user should have access to any content,anywhere, at any time—a task that is difficult to perform with thecurrent location/device-binding TCP/IP (transmission controlprotocol/Internet protocol) networks.

Content-centric networks (CCNs), also referred to as “content-basednetworks,” bring a new approach to data transport in a network. Insteadof naming and addressing end-hosts in the network as in traditionalnetworks today, CCN emphasizes naming and addressing content directly.Examples of content include a picture, an audio file, a movie, adocument, status update in a social network such as Facebook®(registered trademark of Facebook, Inc. of Menlo Park, Calif.) etc. InCCN, content is requested by name directly by the consumer. The networkis responsible for routing the consumer's request to the appropriatecontent producer or provider and for transferring the content or dataobject from the content producer or provider to the consumer. Incontrast to today's Internet, a key goal of the CCN is “security bydesign.” In fact, it guarantees the integrity and provenance of everyData packet with digital signatures and protects user privacy with nosource addresses carried in packets. However, current efforts in CCNarchitecture designs have not considered Distributed Denial of Service(DDoS) attacks, which pose a significant threat to the existing Internetinfrastructure. The CCN architecture is also not immune from DDoSattacks and strategies to mitigate such attacks are not well studiedyet.

SUMMARY

One embodiment of the present invention provides a system for mitigatinginterest flooding attacks in content-centric networks (CCNs). Duringoperation, the system receives, at a physical interface of a router, aninterest packet; obtains current interest satisfaction statisticsassociated with the physical interface; and determines whether toforward or drop the interest packet based on the current interestsatisfaction statistics.

In a variation on this embodiment, the interest satisfaction statisticsassociated with the physical interface further include at least one of:per-interface based interest satisfaction statistics,per-name-prefix-per-interface based interest satisfaction statistics,per-face based interest satisfaction statistics,per-name-prefix-per-face based interest satisfaction statistics,per-virtual-interface based interest satisfaction statistics, andper-name-prefix-per-virtual-interface based interest satisfactionstatistics.

In a variation on this embodiment, the interest satisfaction statisticsindicates a ratio between satisfied interest packets and receivedinterest packets.

In a further variation, determining whether to forward or drop theinterest packet is based on the interest satisfaction statistics.

In a further variation, determining whether to forward or drop theinterest packet involves: receiving, from a neighboring router, anoutstanding interest limit announcement indicating a maximum number ofinterest packets acceptable by the neighboring router; and assigning anoutstanding interest limit for the physical interface based on theinterest satisfaction statistics and the maximum number of theoutstanding interest packets acceptable by the neighboring router,wherein an outstanding interest is an interest that is not satisfied andnot yet expired.

In a variation on this embodiment, obtaining the current interestsatisfaction statistics associated with the physical interface involves:determining whether an interest packet has been satisfied by acorresponding data packet, and determining whether an interest packet isremoved from a pending interest table due to a timeout.

In a variation on this embodiment, the system updates interestsatisfaction statistics subsequent to the interest packet beingsatisfied or expired.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1 presents a diagram illustrating an exemplary CCN networkexperiencing an Interest flooding attack.

FIG. 2 presents a diagram illustrating a set of pseudocode that can beused to calculate Interest satisfaction statistics, in accordance withan embodiment of the present invention.

FIG. 3 presents a diagram illustrating exemplary dynamics of theInterest flooding attack.

FIG. 4 presents a diagram illustrating an exemplary CCN router capableof mitigating Interest flooding attacks, in accordance with oneembodiment of the present invention.

FIG. 5 presents a diagram illustrating a set of pseudocode that can beused for satisfaction-based Interest acceptance, in accordance with anembodiment of the present invention.

FIG. 6 presents a flowchart illustrating an exemplary Interest routingprocess, in accordance with an embodiment of the present invention.

FIG. 7 presents a diagram illustrating a set of pseudocode that can beused for satisfaction-based pushback, in accordance with an embodimentof the present invention.

FIG. 8 presents a diagram illustrating an exemplary scenario wheresatisfaction-based pushback is implemented, in accordance with anembodiment of the present invention.

FIG. 9 presents a flowchart illustrating an exemplary Interest routingprocess, in accordance with an embodiment of the present invention.

FIG. 10 illustrates an exemplary computer system for mitigating Interestflooding attacks, in accordance with one embodiment of the presentinvention.

In the figures, like reference numerals refer to the same figureelements.

DETAILED DESCRIPTION

The following description is presented to enable any person skilled inthe art to make and use the embodiments, and is provided in the contextof a particular application and its requirements. Various modificationsto the disclosed embodiments will be readily apparent to those skilledin the art, and the general principles defined herein may be applied toother embodiments and applications without departing from the spirit andscope of the present disclosure. Thus, the present invention is notlimited to the embodiments shown, but is to be accorded the widest scopeconsistent with the principles and features disclosed herein.

Overview

Embodiments of the present invention provide a method and a system thatmitigates DDoS attacks in content-centric networks. To do so, the systemleverages two key features in CCN architecture. More specifically, thesystem designs a solution based on the per-packet state maintained atintermediate CCN routers and the guaranteed symmetric flow of Interestand Data packets. In some embodiments, the system calculates an interestsatisfaction ratio (ISR) for each interface and/or each name prefixforwarded at each interface, and throttles incoming interest packetsbased on the ISR. In some embodiments, the system distributes forwardingtokens among all interfaces based on the ISR at each interface.

In this disclosure, the term “face” refers to a connection point overwhich CCN nodes receive and send packets. A face can be a connectionpoint to an application, another CCN node, or some other kind ofcommunication channel. A face may have attributes that indicate expectedlatency and bandwidth, broadcast or multicast capability, or otheruseful features.

Interest Flooding in Content-Centric Network

CCN names can include an explicitly specified number of components. Inaddition, CCN names are persistent and content-specific. That is, if auser changes the content of a file or data object, the modified contentis effectively associated with a new name. This persistency can beachieved with an explicit versioning mechanism, where, for example, thenew content can be “version 4” of a given name. The version is often atimestamp. The persistency can also be achieved implicitly. For example,contents can be associated with not only their human-established names,but also with authentication metadata (e.g., a digital signature by thepublisher of the content). As a result, the complete content namechanges when the data associated with a given name changes.

In a content-centric network (CCN), communication is driven by theconsumers of data. In a CCN, there are two packet types, Interest andData. An Interest packet (also called a query) is a request for somecontent. An Interest packet encodes a special form of query thatexpresses what content is desired and what content is not desired. Theundesired content can be indicated using the special Exclude feature inthe Interest packet. A Data packet (also called a content packet) is aunit of content. Data packets are self-identifying by carrying withinthem their full name. A consumer can ask for content by broadcasting itsinterest for the content over all available connectivity. Any nodehearing the Interest and having data that satisfies it can respond witha Data packet. Data is transmitted only in response to an Interest andconsumes that Interest. Both Interest and Data identify the contentbeing exchanged by the content name (or CCN name). In one embodiment,Data can “satisfy” an Interest if the CCN name in the Interest packet isa prefix of the CCN name in the Data packet. For example, an Interestpacket with CCN name “/parc/home/abcd” will match content“/parc/home/abcd/test.txt” and “/parc/home/abcd/bar.txt.” An Interestmay specify the exact version to retrieve or may specify any versiongreater than a specified version, known as a “get-the-latest-versioninterest.”

Functionally, a CCN can retain associations between various names andthe content represented by those names. The names are hierarchicallystructured, have variable length, and in many situations can beunderstood by a user. For example, “/abcd/bob/papers/ccn/news” could bethe name of an article, i.e., the “news” article from the “ccn”collection of papers for a user named “Bob” at the organization named“ABCD.” In a CCN, from an application's perspective, there is no needfor a content consumer to determine how to find the “ABCD” organization,or to find which host there holds Bob's CCN publications. In oneembodiment, to request a piece of content, a device in the CCN registerswith the network that it is interested in that content by its name, andthe content, if available in the local network, is routed back to it.The routing infrastructure takes care of intelligently propagating theInterest to the prospective publishers, and then carrying any availablecontent back via the Data packet along the reverse of the path which theInterest traversed. Note that the CCN routers route the Interest basedon the longest name prefix match, which is similar to IP routing, whererouters perform longest prefix match of IP addresses. However, unlike IProuting, an Interest packet and its matching Data packet always takesymmetric paths—Data packets always take the reverse path traversed byInterest packets in a CCN network.

Each CCN router maintains three major data structures, including aPending Interest Table (PIT), a Forwarding Interest Base (FIB), and aContent Store (CS). The PIT holds all “not yet satisfied” Interests thathave been sent upstream toward data sources. A PIT entry for an Interestspecifies the name of the Interest and one or multiple incoming andoutgoing physical interfaces (or CCN faces) for that Interest. Multipleinterfaces indicate that the same content has been requested by multipledownstream users, and multiple outgoing interfaces indicate that thesame Interest is forwarded along multiple paths.

An FIB maps name prefixes to one or multiple physical network interfacesor faces, defining allowed multipath directions to where Interests canbe forwarded. A CS temporarily buffers Data packets that pass throughthis node, allowing efficient data retrieval by different consumers.

When a router receives an Interest packet, it first checks whether thereis a matching data in its CS. If a match is found, the Data packet issent back to the incoming interface of the Interest packet. If not, theInterest name is checked against the entries in the PIT. If the namealready exists in the PIT, then it can be a duplicate Interest(identified by a random number each Interest carries called Nonce) thatshould be dropped, or an Interest from another consumer asking for thesame Data, which requires the incoming interface of this Interest to beadded to the existing PIT entry. If the name does not exist in the PIT,the Interest is added into the PIT and forwarded to the interface chosenby the strategy module, which uses the FIB as input for its routingdecisions.

When a Data packet is received, its name is used to look up the PIT. Ifa matching PIT entry is found, the router sends the Data packet to theinterface(s) from which the matching Interest was received, caches theData in the CS, and then removes the matching PIT entry. Otherwise, theData packet is unsolicited and discarded. In addition to being removedafter the Interest is satisfied, a PIT entry may also be removed when alifetime associated with the Interest expires. Although the maximumlifetime is specified by users, it is ultimately a router's decision howlong it is willing to keep a PIT entry.

Because Interest packets consume memory resources at intermediaterouters, they may become potential tools for adversaries to launch DDoSattacks in a CCN network. For example, an attacker or a set ofdistributed attackers can inject excessive amounts of Interests in anattempt to overload the network and cause service disruptions forlegitimate users.

FIG. 1 presents a diagram illustrating an exemplary CCN networkexperiencing an Interest flooding attack. In FIG. 1, a CCN network 100includes a number of CCN routers (such as routers 102 and 104) and anumber of end nodes (such as a legitimate-user end node 106, anadversary end node 108, and a data-producer end node 110). Each routerincludes a number of physical interfaces. For example, CCN router 102includes physical interfaces 112, 114, and 116; and CCN router 104includes physical interfaces 118 and 120.

During operation of CCN network 100, legitimate-user end node 106 mayrequest certain content from data producers, such as data-producer endnode 110, by sending an Interest packet to a coupled CCN router. In theexample shown in FIG. 1, legitimate-user end node 106 sends Interests toCCN router 102 via physical interface 112. CCN router 102 receives theseInterests, checks its PIT or FIB based on the names of these Interests,and forwards these Interests to CCN router 104 via physical interface116. Similarly, CCN router 104 receives these Interests, checks its PITor FIB based on the names of these Interests, and forwards theseInterests to data-producer end node 110. In the example shown in FIG. 1,CCN router 104 receives these Interests via physical interface 118 andforwards these Interests via physical interface 120.

In response to receiving an Interest packet, data-producer end node 110responds with a Data packet, which flows back to legitimate-user endnode 106 following the path of the Interest packet.

In the meantime, adversary end node 108 attempts to launch a denial ofservice attack on CCN network 100. Since a CCN network fetches data byits name, an adversary cannot target specific routers or end-hosts.However, an adversary can target a specific namespace. For example, inFIG. 1, if data-producer end node 110 is the exclusive owner of anamespace “/foo/bar”, both CCN router 104 and data-producer end node 110would receive all Interests for “foo/bar/ . . . ” that cannot beotherwise satisfied from in-network caches. A large volume of suchmalicious Interests can disrupt service quality in CCN network 100 intwo ways: it creates network congestion and exhausts resources on theintermediate routers.

Similar to packets in traditional networks, Interest packets in a CCNnetwork consume a portion of network capacity. A large number ofInterest packets might cause congestion and lead to legitimate packetsbeing dropped. In particular, a coordinated DDoS attack could target onespecific namespace to concentrate attack traffic in certain segments ofthe network, typically closest to the publisher serving that namespace.

Because CCN routers maintain per-packet states for each forwardedInterest (i.e., as an entry in its PIT), an excessive number ofmalicious Interests can lead to exhaustion of a router's memory, makingthe router unable to create new PIT entries for incoming Interests, thusdisrupting service for legitimate users.

Note that an effective Interest flooding attack may not be trivial tocreate. To target a specific namespace (e.g., /NewYorkTimes/), anadversary needs to make sure that: (1) the expressed Interests arerouted as close to the data producer as possible, and (2) thecorresponding PIT entries are stored at intermediate CCN routers for aslong as possible. To avoid an Interest being served from caches ofintermediate routers, every single malicious Interest has to request anunpopular or non-existing content, e.g., content with a unique name(unique junk Interests). In this disclosure, we focus on this particularattack strategy because it maximizes the damage from each maliciousInterest in the CCN network. However, other less-effective strains ofInterest flooding attacks can also be mitigated by applying the same orsimilar countermeasures used by embodiments of the present invention.

Systems for Mitigating Interests Flooding

A fundamental principle of CCN architecture, the flow balance betweenInterest and Data packets, can be exploited in mitigating Interestsflooding. More specifically, in CCNs the Interest packet (the onlycommunication initiator) can be satisfied with at most one Data packet,with intermediate routers to control the inbound data traffic bycontrolling the number of outstanding Interests in the network. Hence,one naive approach to mitigating Interests flooding is to set uniformInterest limits (called “physical limits” everywhere else) on everyphysical interface or CCN face. However, such an approach does notdifferentiate malicious interest requests from legitimate ones.

In order to distinguish between legitimate and malicious Interests, insome embodiments, the system leverages another unique feature of CCNarchitecture, the guaranteed symmetric flow of Interest and Datapackets. Since a Data packet takes the reverse path of the correspondingInterest packet, a CCN router is able to see whether an Interest itforwarded results in a matching Data packet or the Interest results in atimeout. In addition, because malicious Interests are not likely tobring data back, this information can be utilized by CCN routers indifferentiating between attacks and legitimate traffic.

Note that this timeout-based differentiation method is reactive innature: one cannot determine in advance whether an Interest will resultin a timeout or Data being retrieved. However, intermediate routers canproactively maintain up-to-date Interest satisfaction statistics, suchas Interest satisfaction ratios (ISRs), which are the number ofsatisfied Interests versus the number of forwarded Interests, and usethese statistics to determine whether an incoming Interest should beforwarded or dropped. For example, maintaining independent Interestsatisfaction ratio (ISR) for each incoming interface can be sufficientto reasonably predict whether an Interest received from a neighborcoupled to this interface will result in a Data packet or a timeout ifforwarded. Statistics can also be kept at finer granularities, such asper outgoing interface, per name prefix per face, etc., that can furtherimprove this estimate. In one embodiment, the system computes ISR on aper name prefix basis. In CCN, a physical interface or face can forwarddifferent Interest packets with different name prefixes. For example, aphysical interface or a face can forward Interests with name prefixessuch as /parc/, /xerox/, /parc/csl, /foo/bar/, etc. The system canmaintain ISR for each name prefix at each physical interface or face.For example, the system can accumulate statistics for name prefix/foo/bar/ at a particular interface by counting how many Interestpackets forwarded at this particular interface with the name prefix/foo/bar/ have resulted in a timeout. In addition to name-prefix basedstatistics, a router may divide a physical interface into a set ofvirtual interfaces, and associate these statistics at each virtualinterface or for each name prefix at each virtual interface. Note that,if an attacker tries to launch a DoS attack by requesting non-existingcontent with a fake name prefix, negative statistics for that nameprefix can build up rapidly as all requests for that name prefix resultin a timeout.

A router's goal should be to prioritize Interests that bring Data backwhile quickly penalizing those that occupy resources without generatinga Data stream in return. In order to allow negative statistics to buildup fast and positive statistics to deteriorate quickly, in oneembodiment, the system calculates the ISR using the standardexponentially weighted moving average. In a further embodiment, themoving average is performed once a second with a coefficient e^(−1/30),which approximately corresponds to a 30-second averaging window. Notethat the duration of the time window for performing the moving averagecan be dynamically adjusted. For example, depending on traffic pattern,the moving average may be calculated every half a second or every 10seconds. Note that, in addition to the exponentially weighted movingaverage, other methods can also be used to calculate ISR.

FIG. 2 presents a diagram illustrating a set of pseudocode that can beused to calculate Interest satisfaction statistics, in accordance withan embodiment of the present invention. In the example shown in FIG. 2,the statistics are evaluated for each physical interface. Other Interestsatisfaction statistics, such as the Interest satisfaction statisticsfor each name prefix, can also be evaluated using a slightly modifiedversion of the pseudocode shown in FIG. 2. Note that, in order to ensuredecaying of relative statistics (e.g., the ratio between the number ofunsatisfied and forwarded Interests), only unsatisfied statistics needto be exponentially smoothed, as shown by lines 23-26 in the pseudocode.The Interest satisfaction statistics can include both the ISR (the ratioof satisfied Interests) and the ratio of unsatisfied Interests. In thepseudocode shown in FIG. 2 the system keeps track of unsatisfiedInterests at an interface (U_(if)).

FIG. 3 presents a diagram illustrating exemplary dynamics of theInterest flooding attack. In the example shown in FIG. 3, the attackduration is from 10 to 70 seconds, as indicated by a box 302. From FIG.3, one can see that prior to the start of the attack the percentage ofunsatisfied Interests is zero. The statistics build up rapidly as soonas Interests start to time out, which happens approximately one secondafter the start of the attack. For most of the attack (10-70 seconds),the percentage of unsatisfied Interests is close to 100%. When the ratiois close to 100%, routers drop all incoming Interests, resulting indecaying of the statistics (as shown by the dips in the curve) until anew Interest is admitted, which eventually brings statistics back near100%. Finally, the ratio exponentially decays after the attack ceases.

FIG. 4 presents a diagram illustrating an exemplary CCN router capableof mitigating Interest flooding attacks, in accordance with oneembodiment of the present invention. In FIG. 4, CCN router 400 includesa number of physical interfaces (such as physical interfaces 402, 404,and 406), a Pending Interest Table (PIT) 408, a Forwarding Interest Base(FIB) 410, a Content Store (CS) 412, a routing module 414, an ISRcalculator 416, and an Interest-acceptance determination module 418.

During operation, CCN router 400 receives Interest packets via physicalinterfaces 402, 404, and 406. The received Interest packets are comparedwith data in CS 412 to see whether matching data can be found. If nomatch is found, the names of the Interest packets are checked againstentries in PIT 408. If the names do not exist in PIT 408, correspondingentries in PIT 408 are generated and the Interests are forwarded basedon interfaces specified in FIB 410, which uses decisions made by routingmodule 414 as input. Entries in PIT 408 are deleted under twocircumstances: the Interest is satisfied, or a timeout has occurred.Based on this per-packet state information, ISR calculator 416 cancalculate ISRs for each physical interface (or face), or for each nameprefix at each physical interface (or face). In one embodiment, ISRcalculator 416 evaluates the number of unsatisfied Interests within asmall time window by calculating an exponentially weighted movingaverage over a larger time window. The Interest satisfaction statistics(which may include ISR and a ratio of the unsatisfied Interests)outputted by ISR calculator 416 can be used to penalize maliciousInterests. In one embodiment, the output of ISR calculator 416 is sentto Interest-acceptance determination module 418, which uses suchinformation to determine whether to accept (forward) or reject anincoming Interest.

FIG. 5 presents a diagram illustrating a set of pseudocode that can beused for satisfaction-based Interest acceptance, in accordance with anembodiment of the present invention. Note that, in the example shown inFIG. 5, the CCN router sets an Interest limit for each physicalinterface (if), the limit being proportional to the bandwidth-delayproduct (BDP) of the interface (see line 2 of the pseudocode). Morespecifically, the Interest limit can be formulized as:

${{{Interest}\mspace{14mu} {Limit}} = {{{Delay}\lbrack s\rbrack} \cdot \frac{{Bandwidth}\left\lbrack {{Bytes}\text{/}{second}} \right\rbrack}{{Data}\mspace{14mu} {packet}\mspace{14mu} {{size}\lbrack{Bytes}\rbrack}}}},$

where Delay is the expected time of Interest being satisfied and Datapacket size is the size of the returned Data packet. Although both thesevalues are not known a priori, it is not necessary to use their exactvalues. In one embodiment, the pending Interest limit is set based onthe average values of the round trip time and observed Data packet size,as the network buffers can smooth out most of the network fluctuations.Note that it is also possible to set this limit using other criteria.

In the pseudocode shown in FIG. 5, one can see that the probability ofan Interest from a particular interface being dropped is proportional tothe ratio of the unsatisfied Interest packets to the incoming packets,as indicated by lines 6-7) of the interface. In other words, theprobability of an Interest from a particular interface being forwardedis proportional to the ISR of that interface. Note that, if the systemmaintains ISR on a per name prefix basis for each physical interface,then probability of an Interest being forwarded is proportional to theISR of the name prefix of the Interest at that interface. As one can seefrom FIG. 3, during an Interest flooding attack, the percentage ofunsatisfied Interest can be very close to 100%, meaning that thelikelihood of an Interest being dropped can be close to 100%. Also, notethat parameter θ (line 5) ensures that this probabilistic model is notenforced when the volume of Interests arriving at a particular interfaceis small. This step is critical to provide an opportunity for legitimateusers to regain their share of resources after temporary Data deliveryfailures.

FIG. 6 presents a flowchart illustrating an exemplary Interest routingprocess, in accordance with an embodiment of the present invention.During operation, the CCN router receives an Interest packet from one ofits physical interfaces (operation 602). The router obtains currentInterest satisfaction statistics for that particular interface(operation 604). In one embodiment, the router maintains Interestsatisfaction statistics, including ISR and the ratio of unsatisfiedInterests, for each individual incoming physical interface. In a furtherembodiment, the router also maintains Interest satisfaction statisticsfor each name prefix at each interface. Subsequently, the routerdetermines whether to forward or drop the Interest packet based on theInterest satisfaction statistics associated with that particularinterface (operation 606). In one embodiment, the probability of anInterest packet being forwarded is proportional to the ISR associatedwith the physical interface from which the Interest was forwarded. Inone embodiment, an Interest packet is dropped if the ISR associated withthe physical interface from which the Interest was forwarded (or the ISRassociated with a particular name prefix at that physical interface) isless than a predetermined threshold. In a further embodiment, thethreshold is dynamically configurable. Subsequently, the router forwardsor drops the Interest (operation 608), and updates the Interestsatisfaction statistics (operation 610).

A drawback of this satisfaction-based Interest acceptance method is thateach router on the path makes an independent decision whether to forwardor drop an Interest. Because of these independent decisions, theprobability of legitimate Interests being forwarded decreases rapidly asthe number of hops between the content requester and the contentproducer grows. For example, in FIG. 1, CCN router 102 may observe a 50%satisfaction rate for interface 112 (which is coupled to legitimate-userend node 106) and a 0% satisfaction rate for interface 114 (which iscoupled to adversary end node 108). In the meantime, CCN router 104 mayobserve a 30% satisfaction rate for interface 118 (which is coupled toCCN router 102). As a result, when a legitimate Interest arrives at CCNrouter 102 via interface 112, it has a 50% chance of being forwardedfurther; if forwarded, it has only a 50%×30%=15% probability of beingforwarded further toward data-producer end node 110. With eachincreasing hop in the network, the probability of being forwarded to thenext hop decreases significantly. The increased Interest droppingprobability at upstream nodes worsens the Interest satisfactionstatistics at those nodes and may result in further drops.

In some embodiments, to prevent this overreaction and unfairpenalization, the system ensures that the decision taken at each routeron whether to forward or drop an Interest is not independent of thedecision made by preceding routers. In a further embodiment, the systemmay implement an explicit notification, such as a gossip protocol,between neighboring CCN routers to ensure that each router makes itsInterest forwarding decision based on decisions made by previousrouters.

The satisfaction-based Interest acceptance method effectively dividesthe available forwarding tokens (a concept that is similar to the tokensin the well-known token bucket algorithm currently widely used in thepacket-switched network) among all interfaces proportional to theirISRs. In some embodiments, instead of proportional token distribution,the system enforces explicit Interest limits for each incoming interfaceor for each name prefix at each face, where the value of the limitdepends directly on the interface's ISR. This technique is also calledthe satisfaction-based pushback. In a further embodiment, CCN routersannounce these limits to their downstream neighbors, which in turnadjust Interest limits for their incoming physical interfacesaccordingly. Various messaging mechanisms can be used by the CCN routersfor announcing their Interest limits to downstream routers. For example,a gossip protocol can be used by CCN routers to periodically sendcontrol messages to their neighbors to indicate the Interest limits,either on a per interface basis or on a per name prefix-per interfacebasis. Moreover, such control messages can also be part of heartbeatmessages that a router sends to its neighboring routers. In addition,any other communication techniques between two routers either currentlyin use or invented in the future may be used to communicate the Interestlimits between routers. Upon receiving the Interest limit of itsupstream router, the downstream router adjusts the Interest limits forits own incoming interfaces based on the upstream Interest limits. Inone embodiment, the downstream router adjusts the Interest limits forits incoming interfaces in proportion to the Interest limits of itsupstream router. This ensures that any Interest forwarded from thedownstream router is allowed to get through, thus resulting in genuineInterest satisfaction statistics.

FIG. 7 presents a diagram illustrating a set of pseudocode that can beused for satisfaction-based pushback, in accordance with an embodimentof the present invention. FIG. 8 presents a diagram illustrating anexemplary scenario where satisfaction-based pushback is implemented, inaccordance with an embodiment of the present invention.

In the example shown in FIG. 8, the initial Interest limit is set asL=10. CCN router 102 observes a 50% satisfaction rate for interface 112(which is coupled to legitimate-user end node 106) and a 0% satisfactionrate for interface 114 (which is coupled to adversary end node 108). Inthe meantime, CCN router 104 observes a 30% satisfaction rate forinterface 118 (which is coupled to CCN router 102). Based on thecorresponding ISR, CCN router 104 sets the Interest limit for itsincoming interface 118 as L′=30%×10=3, and announces this Interest limitto CCN router 102. After receiving the announcement from CCN router 104,CCN router 102 readjusts its incoming interface Interest limit toL′=50%×3=1.5 for interface 112 and L′=0%×3=0 for interface 114. Notethat these limits are then announced to both legitimate-user end node106 and adversary end node 108. Both the legitimate users andadversaries may either obey or ignore the announced Interest limit,which will be in any case enforced by CCN router 102.

The zero limit for the adversary's link in FIG. 8 implies that CCNrouter 102 is temporarily not willing to accept any Interests frominterface 114 until the statistics decay to the appropriate level, asshown in FIG. 3 where the percentage of unsatisfied Interest dropsgradually after the attack period.

At the next iteration of this satisfaction-based pushback algorithm,legitimate-user end node 106 will be able to gradually improve thestatistics on both routers 102 and 104 because all Interests from theuser will get through and return Data, eventually resulting in a fullallowance (L′=L=10) in the links between CCN routers 102 and 104, andlegitimate-user end node 106 and CCN router 102.

FIG. 9 presents a flowchart illustrating an exemplary Interest routingprocess, in accordance with an embodiment of the present invention.During operation, an intermediate CCN router receives an announcedInterest limit from an upstream router (operation 902). Note that if therouter is an edge router, such a limit may be a system default ormanually set by an administrator. The CCN router obtains currentInterest satisfaction statistics for its incoming interfaces (operation904), and adjusts the Interest limit for those incoming interfaces basedon the Interest satisfaction statistics and the received Interest limitannouncement (operation 906). In one embodiment, the Interest limit fora particular incoming interface is proportional to its ISR and theInterest limit of the upstream router. Note that in the pseudocode shownin FIG. 7, we explicitly use “outgoing” and “incoming” interfaces.However, all interfaces can be both incoming and outgoing. Thus, it maynot be entirely clear which outgoing limit (L_(out)) should be used tocalculate the incoming limit (L_(in)). To overcome this problem, in someembodiments, the system enforces separate incoming/outgoing interfacelimits for each individual FIB entry. That is, for each FIB entry, thesystem sets a separate Interest limit for each incoming interface(L′_(in) ^(fib)) based on a sum of FIB entry limits for each outgoinginterface L=ΣL_(out) ^(fib).

Subsequently, the intermediate router announces the readjusted Interestlimits to its downstream routers (operation 908). The router receives an

Interest from a physical interface (operation 910), and determineswhether the Interest exceeds the Interest limit set for that particularinterface (operation 912). If so, the router drops the Interest(operation 914); otherwise, the router forwards the Interest (operation916). Subsequent to the forwarding or dropping of the Interest, therouter updates its Interest satisfaction statistics (operation 918).

Note that compared with other well-known pushback mechanisms,embodiments of the present invention suppress (or push back) unwantedrequests for data, not actual data itself. In addition, differentiatingbetween good and bad Interests is based on the traffic symmetryprinciple of CCN.

Computer System

FIG. 10 illustrates an exemplary computer system for mitigating Interestflooding attacks, in accordance with one embodiment of the presentinvention. In one embodiment, a computer and communication system 1000includes a processor 1002, a memory 1004, and a storage device 1006.Storage device 1006 stores an Interest flooding mitigation application1008, as well as other applications, such as applications 1010 and 1012.During operation, Interest flooding mitigation application 1008 isloaded from storage device 1006 into memory 1004 and then executed byprocessor 1002. While executing the program, processor 1002 performs theaforementioned functions. Computer and communication system 1000 iscoupled to an optional display 1014, keyboard 1016, and pointing device1018.

The data structures and code described in this detailed description aretypically stored on a computer-readable storage medium, which may be anydevice or medium that can store code and/or data for use by a computersystem. The computer-readable storage medium includes, but is notlimited to, volatile memory, non-volatile memory, magnetic and opticalstorage devices such as disk drives, magnetic tape, CDs (compact discs),DVDs (digital versatile discs or digital video discs), or other mediacapable of storing computer-readable media now known or later developed.

The methods and processes described in the detailed description sectioncan be embodied as code and/or data, which can be stored in acomputer-readable storage medium as described above. When a computersystem reads and executes the code and/or data stored on thecomputer-readable storage medium, the computer system performs themethods and processes embodied as data structures and code and storedwithin the computer-readable storage medium.

Furthermore, methods and processes described herein can be included inhardware modules or apparatus. These modules or apparatus may include,but are not limited to, an application-specific integrated circuit(ASIC) chip, a field-programmable gate array (FPGA), a dedicated orshared processor that executes a particular software module or a pieceof code at a particular time, and/or other programmable-logic devicesnow known or later developed. When the hardware modules or apparatus areactivated, they perform the methods and processes included within them.

The foregoing descriptions of various embodiments have been presentedonly for purposes of illustration and description. They are not intendedto be exhaustive or to limit the present invention to the formsdisclosed. Accordingly, many modifications and variations will beapparent to practitioners skilled in the art. Additionally, the abovedisclosure is not intended to limit the present invention.

What is claimed is:
 1. A method for mitigating interest flooding attacksin content-centric networks (CCNs), comprising: receiving, at a physicalinterface of a router, an interest packet; obtaining current interestsatisfaction statistics associated with the physical interface; anddetermining whether to forward or drop the interest packet based on thecurrent interest satisfaction statistics.
 2. The method of claim 1,wherein the interest satisfaction statistics associated with thephysical interface further comprise at least one of: per-interface basedinterest satisfaction statistics; per-name-prefix-per-interface basedinterest satisfaction statistics; per-face based interest satisfactionstatistics; per-name-prefix-per-face based interest satisfactionstatistics; per-virtual-interface based interest satisfactionstatistics; and per-name-prefix-per-virtual-interface based interestsatisfaction statistics.
 3. The method of claim 1, wherein the interestsatisfaction statistics indicates a ratio between satisfied interestpackets and received interest packets.
 4. The method of claim 3, whereindetermining whether to forward or drop the interest packet is based onthe interest satisfaction statistics.
 5. The method of claim 3, whereindetermining whether to forward or drop the interest packet involves:receiving, from a neighboring router, an outstanding interest limitannouncement indicating a maximum number of interest packets acceptableby the neighboring router; and assigning an outstanding interest limitfor the physical interface based on the interest satisfaction statisticsand the maximum number of the outstanding interest packets acceptable bythe neighboring router, wherein an outstanding interest is an interestthat is not satisfied an not yet expired.
 6. The method of claim 1,wherein obtaining the current interest satisfaction statisticsassociated with the physical interface involves: determining whether aninterest packet has been satisfied by a corresponding data packet; anddetermining whether an interest packet is removed from a pendinginterest table due to a timeout.
 7. The method of claim 1, furthercomprising updating the interest satisfaction statistics subsequent tothe interest packet being satisfied or expired.
 8. A non-transitorycomputer-readable storage medium storing instructions that when executedby a computer cause the computer to perform a method for mitigatinginterest flooding attacks in content-centric networks (CCNs), the methodcomprising: receiving, at a physical interface of a router, an interestpacket; obtaining current interest satisfaction statistics associatedwith the physical interface; and determining whether to forward or dropthe interest packet based on the current interest satisfactionstatistics.
 9. The computer-readable storage medium of claim 8, whereinthe interest satisfaction statistics associated with the physicalinterface further comprise at least one of: per-interface based interestsatisfaction statistics; per-name-prefix-per-interface based interestsatisfaction statistics; per-face based interest satisfactionstatistics; per-name-prefix-per-face based interest satisfactionstatistics; per-virtual-interface based interest satisfactionstatistics; and per-name-prefix-per-virtual-interface based interestsatisfaction statistics.
 10. The computer-readable storage medium ofclaim 8, wherein the indicates a ratio between satisfied interestpackets and received interest packets.
 11. The computer-readable storagemedium of claim 10, wherein determining whether to forward or drop theinterest packet is based on the interest satisfaction statistics. 12.The computer-readable storage medium of claim 10, wherein determiningwhether to forward or drop the interest packet involves: receiving, froma neighboring router, an outstanding interest limit announcementindicating a maximum number of interest packets acceptable by theneighboring router; and assigning an outstanding interest limit for thephysical interface based on the interest satisfaction statistics and themaximum number of the outstanding interest packets acceptable by theneighboring router, wherein an outstanding interest is an interest thatis not satisfied and not yet expired.
 13. The computer-readable storagemedium of claim 8, wherein obtaining the current interest satisfactionstatistics associated with the physical interface involves: determiningwhether an interest packet has been satisfied by a corresponding datapacket; and determining whether an interest packet is removed from apending interest table due to a timeout.
 14. The computer-readablestorage medium of claim 8, wherein the method further comprises updatingthe interest satisfaction statistics subsequent to the interest packetbeing satisfied or expired.
 15. A router in a content-centric network(CCN) for mitigating interest flooding attacks, comprising: a physicalinterface for receiving an interest packet; an interest satisfactionstatistics calculator configured to calculate current interestsatisfaction statistics associated with the physical interface; and adetermination mechanism configured to determine whether to forward ordrop the interest packet based on the current interest satisfactionstatistics.
 16. The router of claim 15, wherein the interestsatisfaction statistics associated with the physical interface furthercomprise at least one of: per-interface based interest satisfactionstatistics; per-name-prefix-per-interface based interest satisfactionstatistics; per-face based interest satisfaction statistics;per-name-prefix-per-face based interest satisfaction statistics;per-virtual-interface based interest satisfaction statistics; andper-name-prefix-per-virtual-interface based interest satisfactionstatistics.
 17. The router of claim 15, wherein the interestsatisfaction statistics indicates a ratio between satisfied interestpackets and received interest packets.
 18. The router of claim 17,wherein the determination mechanism is configured to determine whetherto forward or drop the interest packet based on the interestsatisfaction statistics.
 19. The router of claim 17, wherein whiledetermining whether to forward or drop the interest packet, thedetermination mechanism is further configured to: receive, from aneighboring router, an outstanding interest limit announcementindicating a maximum number of interest packets acceptable by theneighboring router; and assign an outstanding interest limit for thephysical interface based on the interest satisfaction statistics and themaximum number of the outstanding interest packets acceptable by theneighboring router, wherein an outstanding interest is an interest thatis not satisfied and not yet expired.
 20. The router of claim 19,wherein the interest limit announcement is included in one of: a gossipprotocol message; a router control message; and a router heartbeatmessage.
 21. The router of claim 15, wherein the interest satisfactionstatistics calculator is further configured to: determine whether aninterest packet has been satisfied by a corresponding data packet; anddetermine whether an interest packet is removed from a pending interesttable due to a timeout.
 22. The router of claim 15, wherein the interestsatisfaction statistics calculator is further configured to update theinterest satisfaction statistics subsequent to the interest packet beingsatisfied or expired.